package org.ands.xml;

import java.util.Map;

import javax.xml.namespace.NamespaceContext;

public class DOMHelperConstruct extends DOMHelper{
	
	/**
	 * Constructs a DOMHelper from and InputHelperConstruct.
	 *
	 * @param uri the uri
	 * @throws Exception the exception
	 * @since     	1.0
	 */
	public DOMHelperConstruct(
			final NamespaceContext namespaceContext,
			final String namespaceURI,
			final String qualifiedName,
			final Map<String, String> docRootAttributeMap) throws Exception{
		
		_document = newDocument(
				namespaceURI, 
				qualifiedName, 
				docRootAttributeMap);
				
		
		assert(_document != null);
		assert(_document.hasChildNodes());
		_nsContext = namespaceContext;
		assert(_nsContext != null);
}
	

	

}
